//
//  UIColor+Extension.swift
//  CSYMicroBlockSina
//
//  Created by 姚彦兆 on 15/11/15.
//  Copyright © 2015年 姚彦兆. All rights reserved.
//

import UIKit

extension UIColor{

    class func randomColor() -> UIColor{
        
        let red_Value : CGFloat = CGFloat(random() % 255) / 255.0
        
        let green_Value : CGFloat = CGFloat(random() % 255) / 255.0
        
        let blue_Value : CGFloat = CGFloat(random() % 255) / 255.0
        
        return UIColor(red: red_Value, green: green_Value, blue: blue_Value, alpha: 1)
        
    }


}
